import Vue from 'vue'
import SvgIcon from './svgIcon.vue'// svg组件
import buttonSvg from './buttonSvg'

// register globally
Vue.component('svg-icon', SvgIcon)
Vue.component('button-svg', buttonSvg)

const requireAll = requireContext => requireContext.keys().map(requireContext)
const req = require.context('./icons', false, /\.svg$/)
requireAll(req)
